<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Residency Page</title>
</head>
<body>
	<%
		//get address info from address page and set to session
		String StreetAddress = request.getParameter("StreetAddress");
		session.setAttribute("StreetAddress", StreetAddress);

		String City = request.getParameter("City");
		session.setAttribute("City", City);

		String AddressState = request.getParameter("AddressState");
		session.setAttribute("AddressState", AddressState);

		String ZipCode = request.getParameter("ZipCode");
		session.setAttribute("ZipCode", ZipCode);

		String AreaCode = request.getParameter("AreaCode");
		session.setAttribute("AreaCode", AreaCode);
		
		String Number = request.getParameter("Number");
		session.setAttribute("Number", Number);

		boolean flag = false;
		if (session.getAttribute("CountryOfResident") == "United States")
			flag = true;
	%>
	<p>
		Hello,
		<%=session.getAttribute("FirstName")%>
		<%=session.getAttribute("MiddleI")%>
		<%=session.getAttribute("LastName")%>
	<p>
		Your country of citizenship is:
		<%=session.getAttribute("CountryOfCitizenship")%>
	<p>
		Your country of resident is:
		<%=session.getAttribute("CountryOfResident")%>
	<p>
		Your street address is:
		<%=StreetAddress%>
	
	<p>
		Your city is:
		<%=City%>
	<p>
		Your country telephone code is:
		<%=AddressState%>
	<p>
		Your zip code is:
		<%=ZipCode%>
	
	<p>
		Your area code is:
		<%=AreaCode%>
		
	<p>
		Your phone number is:
		<%=Number%>
	
	<p>Choose your residency:
	<p>
	<form method="get" action="degreeLocation.jsp">
		<INPUT TYPE=RADIO NAME="USResident" VALUE="T" CHECKED>US
		Permanent Resident<BR>
		<p>
			<INPUT TYPE=RADIO NAME="USResident" VALUE="F">Non-Resident
		<p>
			<input type="submit" value="submit" size="10" /> <input
				type="hidden" name="action" value="resd">
	</form>
</body>
</html>